﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Ruandao.HostServer.Sql
{
    using Ruandao.Misc;
    using Ruandao.HostServer;
    using Ruandao.HostServer.SqlEntityAccess;

    public class SqlDomain : Domain
    {
        internal Domain SetFromEntity(DomainEntity entity)
        {
            TypeUtil.MapProperty(entity, this,
                "DomainId",
                "DomainName",
                "SiteGuid",
                "DomainType",
                "SpecialPath");
            return this;
        }
    }
}
